﻿using RedLockNet;

namespace Service.Core.Redis.DistributedLock
{
    public interface IDistributedLockService
    {
        Task<IRedLock> AcquireLockAsync(string resource, TimeSpan expiryTime, TimeSpan waitTime, TimeSpan retryTime);
    }
}
